package com.pcbly.web.components.utils.property;

public class GlobalReadProperties {

	public static String getStringToProperty(String key) {
		LightsoftProperty property = new LightsoftProperty();
		return property.getString(key);
	}

	public static String getStringToProperty(String key, String defaultValue) {
		LightsoftProperty property = new LightsoftProperty();
		return property.getString(key, defaultValue);
	}

	public static String getStringToPropertyByFileName(String fileName,
			String key) {
		LightsoftProperty property = new LightsoftProperty(fileName);
		return property.getString(key);
	}

	public static String getStringToPropertyByFileName(String fileName,
			String key, String defaultValue) {
		LightsoftProperty property = new LightsoftProperty(fileName);
		return property.getString(key, defaultValue);
	}
}
